programming - C - function _makepathWhat links here?

Syntax

void _makepath(
    char* path, 
    char* drive, 
    char* dir, 
    char* fname, 
    char* ext)


Description

_makepath creates a single path name, composed of a drive letter, directory path, file name, and file name extension.

The path argument should point to an empty buffer large enough to hold the complete path name. The constant _MAX_PATH, defined in <stdlib.h>, specifies the maximum size allowed for path. The other arguments point to the following buffers containing the path name elements:



The size limits on the above four fields are those specified by the constants _MAX_DRIVE, _MAX_DIR, _MAX_FNAME, and _MAX_EXT, which are defined in <stdlib.h>. The composite path should be no larger than the _MAX_PATH constant also defined in <stdlib.h>; otherwise, the operating system does not handle it correctly.

Note: No checking is done to see if the syntax of the file name is correct .



Returns

There is no return value.
programming - C - function _makepath
filename:programming - C - function _makepath
filename:programming%20%2D%20C%20%2D%20function%20_makepath
last edit:January 07 2010 21:21:08 (5231 days ago)
ct = 1714949498.000000 = May 05 2024 18:51:38
ft = 1262917268.000000 = January 07 2010 21:21:08
dt = 452032230.000000